﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/3/12 18:52:50
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 库存实体
    /// </summary>
    public class RS_Stock : Entity
    {
        #region Inner members
        private int _stockId;
        private int _metaDataId;
        private int _unitId;
        private decimal _number;
        private decimal _convsRate;
        private decimal _unitPrice;
        private int _atomUnitId;
        #endregion

        #region Accessor
        public int StockId
        {
            get { return _stockId; }
            set { _stockId = value; }
        }

        public int MetaDataId
        {
            get { return _metaDataId; }
            set { _metaDataId = value; }
        }

        public int UnitId
        {
            get { return _unitId; }
            set { _unitId = value; }
        }

        public decimal Number
        {
            get { return _number; }
            set { _number = value; }
        }

        public decimal ConvsRate
        {
            get { return _convsRate; }
            set { _convsRate = value; }
        }

        public decimal UnitPrice
        {
            get { return _unitPrice; }
            set { _unitPrice = value; }
        }

        public int AtomUnitId
        {
            get { return _atomUnitId; }
            set { _atomUnitId = value; }
        }
        #endregion

        #region Structure
        #endregion
    }
}
